function func_active_price_tax(price_action_comp_retail, price_action_pc_retail, unit_retail_amt, iva_tax) {
    if (isNull(price_action_comp_retail)) {
        if (isNull(price_action_pc_retail)) {
            return func_roundNumber(unit_retail_amt * iva_tax, 2);
        } else {
            return func_roundNumber(price_action_pc_retail * iva_tax, 2);
        }
    } else {
        return func_roundNumber(price_action_comp_retail * iva_tax, 2);
    }
}

//func_active_price(price_action_comp_retail, price_action_pc_retail, iva_tax);
